package com.sc.nft.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class PositionStatisticalVO {

    @ApiModelProperty("持仓市值")
    private String positionMarketValue;

    @ApiModelProperty("持仓成本")
    private String positionCost;

    @ApiModelProperty("持仓藏品")
    private Integer positionSum;

    @ApiModelProperty("藏品分享链接")
    private String shareUrl;

    @ApiModelProperty("持仓道具数")
    private Integer propsCount;

    public void setPositionMarketValue(BigDecimal positionMarketValue) {
        this.positionMarketValue = positionMarketValue.toPlainString();
    }

    public void setPositionCost(BigDecimal positionCost) {
        this.positionCost = positionCost.toPlainString();
    }

}
